﻿namespace FFF.Test.Application.DomainServices.FW
{
    using System.Linq;
    using System.Collections.Generic;
    using System.Threading.Tasks;
    using Abp.Domain.Services;
    using Abp.Domain.Uow;
    using Abp.EntityFrameworkCore.Uow;
    using AutoMapper;
    using FFF.Test.Application.Repositories.FW;
    using FFF.Test.DataAccess.Framework;
    using FFF.Test.Entity.FW;
    using FFF.Test.Entity.FW.Dto;

    /// <summary>
    /// 标准角色动作中间表应用层服务
    /// </summary>
    public interface IFWStandardRole2ActionDomainService
    {
        /// <summary>
        /// 1.008 批量保存角色的权限(于大明)
        /// </summary>
        /// <param name="inDto">批量保存角色的权限输入dto</param>
        /// <returns>批量保存角色的权限输出dto</returns>
        Task<BatchSaveRoleActionOutDto> BatchSaveRoleActionAsync(BatchSaveRoleActionInDto inDto);

        /// <summary>
        /// 1.007 获取角色的权限(于大明)
        /// </summary>
        /// <param name="inDto">获取角色的权限输入dto</param>
        /// <returns>获取角色的权限输出dto</returns>
        Task<GetRoleRightsOutDto> GetRoleRightsAsync(GetRoleRightsInDto inDto);

    }
}
